﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Smart
{
    public partial class frmCariBilgi : Form
    {
        public string CariKodu { get; set; }

        public frmCariBilgi()
        {
            InitializeComponent();
        }

        private void frmCariBilgi_Load(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(this.CariKodu))
                this.cariBilgi1.Load(this.CariKodu);
        }

        bool klavyeAcik = false;
        private void btnKlavye_Click(object sender, EventArgs e)
        {
            if (klavyeAcik)
            {
                klavyeAcik = false;
                Sip.Hide();
            }
            else
            {
                klavyeAcik = true;
                Sip.Show();
            }
        }

        private void btnGeri_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}